package com.example.websocket.websocket.entity;

import java.io.Serializable;

public class User implements Serializable {

    private static final long serialVersionUID = 4123252850390532959L;

    private Integer id;

    private String username;

    private String password;

    private Integer age;

    private String loginSocket;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getLoginSocket() {
        return loginSocket;
    }

    public void setLoginSocket(String loginSocket) {
        this.loginSocket = loginSocket;
    }
}
